package org.seed.quantum.memory;

public interface BufferFactory {

    /**
     * 禁用状态的内存池
     */
    BufferFactory IDLE_BUFFER_FACTORY = () -> new BufferPagePool(0, 1, true);

    /**
     * 创建内存池
     *
     * @return 生成的内存池对象
     */
    BufferPagePool create();
    
}
